package com.ctl.shardingsphere.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ctl.shardingsphere.model.Device;
import com.ctl.shardingsphere.model.query.DeviceQuery;

import java.util.List;


/**
 * @Classname UserService
 * @Description 用户服务类
 * @Author ctl
 * @Date 2019-06-28 17:31
 * @Version 1.0
 */
public interface DeviceService extends IService<Device> {

    /**
     * 保存用户信息
     * @param entity
     * @return
     */
    @Override
    boolean save(Device entity);

    /**
     * 查询全部用户信息
     * @return
     */
    List<Device> getDeviceList(DeviceQuery query);
}